// DriveNotes. Copyright (c) 2011, Andrei Senchuk. All rights reserved.
package net.taviscaron.drivenotes.server.model.dao;

import java.util.List;
import net.taviscaron.drivenotes.shared.model.entity.Place;
import net.taviscaron.drivenotes.shared.model.entity.User;

/**
 * Place data access object
 * @author Andrei Senchuk
 */
public interface PlaceDAO extends BaseDAO<Place> {
    public List<Place> findByOwnerId(Long id);
    public Place findByOwnerAndId(User owner, Long id);
}
